package com.icinfo.cloud.provider.punish.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.icinfo.cloud.provider.punish.ucase.casemain.vo.CaseAttachmentInfoVo;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.util.List;

/**
 * @author shishengyao
 * @description
 * @date 2022/11/21
 */
@Data
public class SimpleCaseExecuteFinishSaveDto {
    /**
     * 案件id
     */
    private String caseId;

    /**
     * 附件保存列表
     */
    @NotNull(message = "附件不能为空")
    private List<CaseAppendixSaveDto> appendixSaveDtoList;
    /**
     * 执行完成日期
     */
    @NotNull(message = "执行完成日期不能为空")
    @JsonFormat(pattern = "yyyy-M-d",timezone = "GMT+8")
    private LocalDate executeFinishDate;
    /**
     * 执行方式
     */
    @NotNull(message = "执行方式不能为空")
    private String executeWay;
    /**
     * 执行情况描述
     */
    private String executeConditionDesc;
}
